package com.ruoyi.system.service.impl;

import com.ruoyi.system.mapper.HomePageMapper;
import com.ruoyi.system.service.IHomePageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HomePageServiceImpl implements IHomePageService {

    /**
     *  首页
     */
    @Autowired
    private HomePageMapper homePageMapper;

    @Override
    public int numberOfEnterprise() {
        return homePageMapper.numberOfEnterprise();
    }

    @Override
    public int numberOfEngineering() {
        return homePageMapper.numberOfEngineering();
    }

    @Override
    public int numberOfCommission() {
        return homePageMapper.numberOfCommission();
    }



}
